<META HTTP-EQUIV=”Content-Type” CONTENT=”text/html; charset=UTF-8”>
<script type="text/javascript" src="<?php echo  base_url();?>public\scripts\tinymce\jscripts\tiny_mce\tiny_mce.js"></script>
			<script type="text/javascript">
				//tinyMCE.init({
					// General options
					//mode : "textareas",
					//theme : "advanced",
		            //theme_advanced_source_editor_width : 700
				//});
			</script>
<?php echo form_open_multipart('theloai/insert');?>
<h1>Thêm Game mới </h1>
<h5>Thể Loại Game</h5>
<select name="danhmuc">
<?php
foreach($danhmuc as $row)
{
	echo "<option value=$row[maloai]>$row[tenloai]</option>";
}
?>
</select>
<h5>Tên Game</h5>
<input type="text" name="txt_tittle" id="txt_tittle" />
<h5>Link Down</h5>
<input type="text" name="txt_link" id="txt_link" />
<h5>Nội Dung</h5>
<textarea name="content" id="content" cols="50" rows="15"  style="width:750px; height:400px">Nội Dung Bài</textarea>
<h5>Image </h5>
<?php echo $error;?>



<input type="file" name="userfile" size="20" />

<br /><br />
<input type="submit" name="ok" value="Đăng Bài" id="ok" />
